package com.swallow.cloud.common.security.shiro;


import java.util.Map;

/**
 * @Author: L.swallow
 * @Date: 2019/5/7 11:54
 */
public class FormToken extends org.apache.shiro.authc.UsernamePasswordToken {
    private static final long serialVersionUID = 1L;

    public FormToken() {
    }

    public FormToken(String username, String password, String captcha) {
        super(username, password);
        this.captcha = captcha;
    }

    private Map<String, Object> params;
    private String captcha;

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
